package com.hdoit.ares.logical.wechatorder.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import com.tennetcn.common.message.ModelBase;


@Entity
@Table(name="base_wechat_order")
public class WechatAresOrder extends ModelBase{    
    //订单id
	@Id
	@Column(name="tradeNo")
    private String tradeNo;
	
	//名称
	@Column(name="name")
	private String name;

    //设备信息
    @Column(name="deviceInfo")
    private String deviceInfo;

    //货币类型
    @Column(name="feeType")
    private String feeType;

    //总金额
    @Column(name="totalFee")
    private double totalFee;

    //交易起始时间
    @Column(name="timeStart")
    private String timeStart;

    //交易结束时间
    @Column(name="timeExpire")
    private String timeExpire;

    //交易类型
    @Column(name="tradeType")
    private String tradeType;

    //openId
    @Column(name="openId")
    private String openId;

    //交易会话标识
    @Column(name="prepayId")
    private String prepayId;

    //公众号id
    @Column(name="appId")
    private String appId;

    //商户号
    @Column(name="mchId")
    private String mchId;

    //微信支付订单号
    @Column(name="transactionId")
    private String transactionId;

    //支付完成时间
    @Column(name="timeEnd")
    private String timeEnd;

    //商家数据包
    @Column(name="attach")
    private String attach;

    //付款银行
    @Column(name="bankType")
    private String bankType;
    
    //订单状态
    @Column(name="orderStatus")
    private String orderStatus;

    public String getTradeNo(){
        return this.tradeNo;
    }
    public void setTradeNo(String tradeNo){
         this.tradeNo=tradeNo;
    }

    public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	
	public String getDeviceInfo(){
        return this.deviceInfo;
    }
    public void setDeviceInfo(String deviceInfo){
         this.deviceInfo=deviceInfo;
    }

    public String getFeeType(){
        return this.feeType;
    }
    public void setFeeType(String feeType){
         this.feeType=feeType;
    }

    public double getTotalFee(){
        return this.totalFee;
    }
    public void setTotalFee(double totalFee){
         this.totalFee=totalFee;
    }

    public String getTimeStart(){
        return this.timeStart;
    }
    public void setTimeStart(String timeStart){
         this.timeStart=timeStart;
    }

    public String getTimeExpire(){
        return this.timeExpire;
    }
    public void setTimeExpire(String timeExpire){
         this.timeExpire=timeExpire;
    }

    public String getTradeType(){
        return this.tradeType;
    }
    public void setTradeType(String tradeType){
         this.tradeType=tradeType;
    }

    public String getOpenId(){
        return this.openId;
    }
    public void setOpenId(String openId){
         this.openId=openId;
    }

    public String getPrepayId(){
        return this.prepayId;
    }
    public void setPrepayId(String prepayId){
         this.prepayId=prepayId;
    }

    public String getAppId(){
        return this.appId;
    }
    public void setAppId(String appId){
         this.appId=appId;
    }

    public String getMchId(){
        return this.mchId;
    }
    public void setMchId(String mchId){
         this.mchId=mchId;
    }

    public String getTransactionId(){
        return this.transactionId;
    }
    public void setTransactionId(String transactionId){
         this.transactionId=transactionId;
    }

    public String getTimeEnd(){
        return this.timeEnd;
    }
    public void setTimeEnd(String timeEnd){
         this.timeEnd=timeEnd;
    }

    public String getAttach(){
        return this.attach;
    }
    public void setAttach(String attach){
         this.attach=attach;
    }

    public String getBankType(){
        return this.bankType;
    }
    public void setBankType(String bankType){
         this.bankType=bankType;
    }
    
	public String getOrderStatus() {
		return orderStatus;
	}
	public void setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus;
	}
}